package com.central.dataManage.mapper;

import com.central.dataManage.model.UserTablePrivilege;
import com.central.db.mapper.SuperMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * @author Tindy
 * @date 2021/7/5
 * @describe
 */
@Mapper
public interface UserTablePrivilegeMapper extends SuperMapper<UserTablePrivilege> {
    List<UserTablePrivilege> getAllTablePrivilege(@Param("datasourceId") Long datasourceId,@Param("proId") Long proId,@Param("userId") Long userId,@Param("tables") Set<String> tables);
}
